package edu.hwadee.entity;

/**
 * Goodsstorage entity. @author MyEclipse Persistence Tools
 */

public class Goodsstorage implements java.io.Serializable {

	// Fields

	private Integer goodsstorageId;
	private Storage storage;
	private Goods goods;
	private Float quantity;

	// Constructors

	/** default constructor */
	public Goodsstorage() {
	}

	/** full constructor */
	public Goodsstorage(Storage storage, Goods goods, Float quantity) {
		this.storage = storage;
		this.goods = goods;
		this.quantity = quantity;
	}

	// Property accessors

	public Integer getGoodsstorageId() {
		return this.goodsstorageId;
	}

	public void setGoodsstorageId(Integer goodsstorageId) {
		this.goodsstorageId = goodsstorageId;
	}

	public Storage getStorage() {
		return this.storage;
	}

	public void setStorage(Storage storage) {
		this.storage = storage;
	}

	public Goods getGoods() {
		return this.goods;
	}

	public void setGoods(Goods goods) {
		this.goods = goods;
	}

	public Float getQuantity() {
		return this.quantity;
	}

	public void setQuantity(Float quantity) {
		this.quantity = quantity;
	}

}